package io.renren.modules.sys.service.impl;

import io.renren.modules.applicationUser.entity.UserEntity;
import io.renren.modules.sys.dao.SysUserInfoDao;
import io.renren.modules.sys.service.SysUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class SysUserInfoServiceImpl implements SysUserInfoService {

    @Autowired
    private SysUserInfoDao sysUserInfoDao;

    @Override
    public UserEntity queryObject(Long id) {
        return sysUserInfoDao.queryObject(id);
    }

    @Override
    public List<UserEntity> queryList(Map<String, Object> map) {
        return sysUserInfoDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return sysUserInfoDao.queryTotal(map);
    }

    @Override
    public void delete(Long id) {
        sysUserInfoDao.delete(id);
    }

    @Override
    public void deleteBatch(Long[] ids) {
        sysUserInfoDao.deleteBatch(ids);
    }
}
